package com.jk.dao;

import com.jk.entity.ClothEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @详细介绍接口情况.
 * @InterfaceName ShopDao
 * @Author 张荣鑫
 * @Date 2022/6/2
 * @Version 1.0
 */
@Repository
public interface ShopDao {
    int getcount(Integer num);

    List<ClothEntity> queryAllShop(String name);

    ClothEntity getShopBynum(Integer shopId);

    ClothEntity queryshopByid(@Param("shopId") Integer shopId,@Param("userId") Integer userId);

    void addshopCar(@Param("userId") Integer userId,@Param("shopId") Integer shopId, @Param("num")Integer num);

    void updateCount(@Param("userId") Integer userId, @Param("shopId")Integer shopId, @Param("num")Integer num);

    int getcount2();

    List<ClothEntity> queryManShop( );

    int getcount3();

    List<ClothEntity> queryWomanShop();

    int getcount4();

    List<ClothEntity> querytejia();
}
